package com.patent.dao;

import com.patent.domain.po.Invoice;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface InvoiceMapper {

    int deleteByPrimaryKey(Integer id);

    int insertSelective(Invoice record);

    Invoice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Invoice record);

	List<Invoice> getInvoiceList(Map<String, Object> queryMap);

	Invoice selectInvoiceByMap(Map<String, Object> map);
}